
import * as http from '@/utils/http' 


export const queryDynamics = (reqParams)=>{
    return http.post('/api/dynamic/query-dynamics',reqParams);
}

export const queryDynamicById = (id)=>{
    return http.post('/api/dynamic/query-dynamic-by-id/'+id,{});
}


export const delDynamicBySrcIdAndType = (srcId,type)=>{
    return http.post('/api/dynamic/del-dynamic-by-srcId/'+srcId+'/'+type,{});
}